Re: autovacuum daemon question... - Mailing list pgsql-admin

From Jeff Bohmer
Subject Re: autovacuum daemon question...
Date
Msg-id p06230900bf9961d37627@[192.168.1.200]
Whole thread Raw
In response to Re: autovacuum daemon question...  ("Matthew T. O'Connor" <matthew@zeut.net>)
Responses Re: autovacuum daemon question...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-admin
>>Unless I misunderstand, if stats_reset_on_server_start=off, these
>>(currently nonexistent autovacuum) stats would only be relevant for
>>autovacuum's VACUUM activity and not it's ANALYZE activity.  In
>>which case, it seems ideal to keep autovacuum VACUUM stats
>>regardless of the GUC setting, while autovacuum ANALYZE stats
>>should follow it. But if the ideal is impractical, making both
>>ANALYZE and VACUUM stats follow the GUC would still be real nice.
>
>I'm confused...  the GUC var stats_reset_on_server_start dictates if
>the stats system dumps its data on DB restart.  If we added a new
>table to the stats system kept track of autovacuum activity, then
>that data would also be dumped on restart if
>stats_reset_on_server_start=true.


Yep.  I was thinking of a way to muck up the stats system by keeping
autovacuum's VACUUM activity irregardless of
stats_reset_on_server_start.  Because autovacuum's VACUUM activity
data would be relevant across restarts, even if
stats_reset_on_server_start=true.  But I see now that my idea is ugly
and just confuses things.  I agree that having it work the way you
suggest is preferable.

- Jeff


--

Jeff Bohmer
VisionLink, Inc.

pgsql-admin by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: autovacuum daemon question...
Next
From: nilesh khode
Date:
Subject: SSL Query